window.EcExtension?.ready?.(() => {
    if (window.ecodeSDK && location.hash.startsWith('#/main/portal/')) {
        window.EcExtension.Menus.register('后端应用中心/组织权限中心', () => {
            window.open(`/wui/engine.html#/hrmengine/index`)
        })

        window.EcExtension.Menus.register('后端应用中心/门户引擎', () => {
            window.open(`/wui/engine.html#/portalengine`)
        })

        window.EcExtension.Menus.register('后端应用中心/流程引擎', () => {
            window.open(`/wui/engine.html#/workflowengine`)
        })

        window.EcExtension.Menus.register('后端应用中心/建模引擎', () => {
            window.open(`/wui/engine.html#/cubeengine`)
        })
    }
})